package com.yindian.cos.easy.security.exception;

/**
 * 账号不可用异常，由用户自行实现UserDetail
 * 当isAccountNonExpired()、isAccountNonLocked()、isCredentialsNonExpired()，任意方法返回false时抛出
 * isEnable()方法返回false时也会抛出
 *
 * @author zhangchuanhao
 * @create 2018/11/19
 */
public class AccountUnavailableException extends AuthenticationException {
    public AccountUnavailableException(String message) {
        super(message);
    }
}
